]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Add catch when asynchronously setting up the startup animation
authorEvan Welsh <contact@evanwelsh.com>
Thu, 6 Jul 2023 01:12:39 +0000 (18:12 -0700)
committerEvan Welsh <contact@evanwelsh.com>
Sat, 15 Jul 2023 02:35:56 +0000 (02:35 +0000)
This ensures any errors that occur in this stage of startup are clearly
logged.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2822>

js/ui/layout.js

index cbd28c38a0c08d5afa4fc0d3a300d51f17ed0e86..baf5a807bc30c382c094094895e190cca3477102 100644 (file)
@@ -684,7 +684,7 @@ var LayoutManager = GObject.registerClass({
                 if (this.primaryMonitor) {
                     this._systemBackground.show();
                     global.stage.show();
-                    this._prepareStartupAnimation();
+                    this._prepareStartupAnimation().catch(logError);
                     return GLib.SOURCE_REMOVE;
                 } else {
                     return GLib.SOURCE_CONTINUE;